<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var now = new Date();
        now.getDate();
        now.getHours();
        now.getFullYear();
    </script>
</body>
</html>